/**
 * jims
 */
package com.jims.master.modules.oper.entity;

import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

/**
 * 诊疗项目与价表对照Entity
 * @author 赵宁
 * @version 2017-02-23
 */
public class ClinicVsCharge extends DataEntity<ClinicVsCharge> {
	
	private static final long serialVersionUID = 1L;
	private String clinicId;		// 诊疗项目类别
	private String chargeId;		// 价表代码
	private String amount;		// 数量
	
	public ClinicVsCharge() {
		super();
	}

	public ClinicVsCharge(String id){
		super(id);
	}

	@Length(min=1, max=64, message="诊疗项目类别长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=1, max=64, message="价表代码长度必须介于 1 和 64 之间")
	public String getChargeId() {
		return chargeId;
	}

	public void setChargeId(String chargeId) {
		this.chargeId = chargeId;
	}
	
	@Length(min=0, max=11, message="数量长度必须介于 0 和 11 之间")
	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}
	
}